﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace IPBoss.Copyright.Entities
{
    public class ResourceInfoViewModel
    {
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? RecordUpdateTime { get; set; }
        /// <summary>
        /// 产品id
        /// </summary>
        public string PID { get; set; }
        /// <summary>
        ///  附件关联表ID，T_Product_Resource表或R_Product_Applicant表
        /// </summary>
        public string TableType { get; set; }

        /// <summary>
        /// 关联表主键List
        /// </summary>
        public List<int> TPRIDList { get; set; }
        /// <summary>
        /// ResourceInfo ID
        /// </summary>
        public int ID { get; set; }
        /// <summary>
        /// 附件类型，确定是哪个表的主键
        /// </summary>
        public string Type { get; set; }
        /// <summary>
        /// 附件类型明细，取的CodeBase表内容
        /// </summary>
        public string ResourceTypeName { get; set; }

        /// <summary>
        /// 附件类型
        /// </summary>
        public int ResourceTypeDetail { get; set; }
        /// <summary>
        /// 文件名称
        /// </summary>
        public string FileName { get; set; }
        /// <summary>
        /// 文件虚拟目录
        /// </summary>
        public string VirtualPath { get; set; }

        /// <summary>
        /// 文件实际目录
        /// </summary>
        public string FilePath { get; set; }
        /// <summary>
        /// 是否必须上传
        /// </summary>
        public int? IsMust { get; set; }
        /// <summary>
        /// 资源id
        /// </summary>
        public int? ResourceID { get; set; }

        public int? AgreementID { get; set; }

        public string FileSuffix { get; set; }

        public string ResourceName { get; set; }

       
    }
}
